package com.hdax.dmw.common.exceptions;

import com.hdax.dmw.common.utils.ServiceResultEnum;

public class MsgException extends DmException{
    public MsgException(ServiceResultEnum code) {
        this(code.getErrorCode(),code.getResult());
    }

    public MsgException(String message) {
        super(message);
    }

    public MsgException(String errorCode, String message) {
        super(errorCode, message);
    }
}
